<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>

<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
String mt = request.getParameter("mt");//用request得到 
/* String userId = request.getParameter("userId");//用request得到 
String url = request.getParameter("url");//用request得到 
String mid = request.getParameter("mid");//用request得到 
String styleId = request.getParameter("styleId");//用request得到  */
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>

<%-- <base href="<%=basePath%>"> --%>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>门户基本页</title>
<script src="<%=basePath%>assets/js/jquery-1.10.1.min.js"></script>
<link href="../assets/css/reset.css" rel="stylesheet" />
<link href="../assets/css/tabs.css" rel="stylesheet" />
<script src="<%=basePath%>assets/js/html5shiv.min.js"></script>
<script src="<%=basePath%>assets/js/respond.min.js"></script>
<script src="<%=basePath%>assets/js/portal.js"></script>
<script src="<%=basePath%>assets/js/cn.js"></script>
<script src="<%=basePath%>assets/js/core.js"></script>
<script src="<%=basePath%>assets/js/global.js"></script>
<script src="<%=basePath%>assets/js/mousewheel.js"></script>
<script src="<%=basePath%>assets/js/tabs.js"></script>



<script type="text/javascript" >
//获取url中的参数
function getUrlParam(m) {
    var sValue = location.search.match(new RegExp("[\?\&]" + m + "=([^\&]*)(\&?)", "i"));
    return sValue ? sValue[1] : sValue;
}
//window.parent.addTabs(mt,"http://198.10.10.133:7001"+basePath+'/'+url+mid+'&styleId='+styleId+'&userId='+userId+'&templateId=');

var mt = decodeURI(getUrlParam("mt"));
var userId = getUrlParam("userId");
var url = getUrlParam("url");
var mid = getUrlParam("mid");
var styleId = getUrlParam("styleId");
window.parent.parent.addTabs(mt,"http://198.10.10.133:7001/RMS"+'/'+url+mid+'&styleId='+styleId+'&userId='+userId+'&templateId=');

</script>

</head> 	

  
 <body>  
 </body>  


</html>
